﻿namespace BSDS.Core.Model.Data
{
    public class AttributeInfo
    {
        public string Name { get; private set; }
        public string Datatype { get; private set; }
        public bool IsPrimaryKey { get; private set; }

        public AttributeInfo(string name, string datatype, bool isPrimaryKey)   // TODO: Use an enum for the valid data types -- NH 11/30/2011
        {
            Name = name;
            Datatype = datatype;
            IsPrimaryKey = isPrimaryKey;
        }
    }
}